<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>JsChartViewer.msgContainer</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="JsChartViewer.htm">JsChartViewer</a>.<wbr>msgContainer</p>
<hr class="separator">
<p class="heading2a">Description</p>

<div class="content">
Gets or sets the default message container template.<br><br>
The message container template will be used for chart messages that are not started with the <DIV> tag. The template should be written in HTML, using %msg as the place holder where the message should appear.<br><br>
As an example, the default message container is as follows, which means a rectangle with a black border and light red background, with 8pt Verdana black color as the default font.<br><br>
<div class="codeblock"><code class='pre'>&lt;div style="font-family:Verdana;font-size:8pt;font-weight:bold;padding:3 8 3 8;
    border:1pt solid #000000;background-color:#FFCCCC;color:#000000"&gt;
    %msg
&lt;/div&gt;</code></div><br>
<div class="greyblock">
<b>Note:</b> This is a static property (class property). It should be accessed as JsChartViewer.msgContainer, not <i>objName</i>.msgContainer.
</div>
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
